<div class="lr_box member_box">
<div class="l_box">
<a href="javascript:;">
<img src="<?php echo site_url ( $tamember ['avatar'] )?>" width="62" height="62" class="block" />
</a>
</div>
<div class="r_box"><a href="#" class="name"><?php echo $tamember ['username']?></a>
<ul class="member_menu">
	<li <?php if(isset($tab) && $tab == 'index'):?>class="current"<?php endif;?>><a href="<?php echo site_url ( 'tamember?id=' . $tamember ['id'] )?>">主页</a></li>
	<li <?php if(isset($tab) && $tab == 'photo'):?>class="current"<?php endif;?>><a href="<?php echo site_url ( 'taphoto/' . $tamember ['id'] )?>">相册</a></li>
	<li <?php if(isset($tab) && $tab == 'blog'):?>class="current"<?php endif;?>><a href="<?php echo site_url ( 'tablog/' . $tamember ['id'] )?>">日记</a></li>
	<li <?php if(isset($tab) && $tab == 'store'):?>class="current"<?php endif;?>><a href="<?php echo site_url ( 'tastore/' . $tamember ['id'] )?>">小店</a></li>
	<li <?php if(isset($tab) && $tab == 'street'):?>class="current"<?php endif;?>><a href="<?php echo site_url ( 'tastreet/' . $tamember ['id'] )?>">街道</a></li>
</ul>
</div>
</div>